#pragma once

#include <QObject>

#include "Base/AbstractRemoteProcedure.h"

namespace TC
{
    namespace Request
    {
        class TCCORE_EXPORT UserInfo : public AbstractRemoteProcedure
        {
            Q_OBJECT
        public:
            Q_INVOKABLE void change(const QString &headUrl, const QString &nickname);
        protected:
            void onDataReady(QDataStream &stream) override;
        };

    }
}